SWEP.Manufacturer		= "GmbH"
SWEP.Cartridge			= "9x19mm Parabellum"

if ( CLIENT ) then
	SWEP.Author				= "CSE2 - Night-Eagle"
	SWEP.Contact			= "gmail sedhdi"
	SWEP.Purpose			= ""
	SWEP.Instructions		= ""
	SWEP.PrintName			= "Glock 18"
	SWEP.Instructions		= ""
	SWEP.Slot				= 1
	SWEP.SlotPos			= 0
	SWEP.IconLetter			= "c"
	
	killicon.AddFont("cse2_glock","CSKillIcons",SWEP.IconLetter,Color(255,80,0,255))
end

if ( SERVER ) then
	AddCSLuaFile( "shared.lua" )
end


SWEP.Base				= "cse2_base"

SWEP.Spawnable			= true
SWEP.AdminSpawnable		= true

SWEP.ViewModel			= "models/weapons/v_pist_glock18.mdl"
SWEP.WorldModel			= "models/weapons/w_pist_glock18.mdl"
SWEP.HoldType = "pistol"

SWEP.Weight				= 5

SWEP.Primary.Sound			= Sound("Weapon_Glock.Single")
SWEP.Primary.Recoil			= 2
SWEP.Primary.Unrecoil		= 6
SWEP.Primary.Damage			= 14
SWEP.Primary.NumShots		= 1
SWEP.Primary.Cone			= 0
SWEP.Primary.ClipSize		= 18
SWEP.Primary.DefaultClip	= 36
SWEP.Primary.Ammo			= "smg1"

SWEP.Secondary.ClipSize		= -1
SWEP.Secondary.DefaultClip	= -1
SWEP.Secondary.Automatic	= false
SWEP.Secondary.Ammo			= "none"

//Firemode configuration

SWEP.IronPos = Vector(4.34,-2,2.8)
SWEP.IronAng = Vector(.74,0,0)
SWEP.IronIdle = 1 //Reduce model "hop" from incorrect firing animation

SWEP.ViewModelFlip = true

SWEP.firemode = "semi"

SWEP.Data = {
	semi = {
		Delay = .1,
		Cone = .007,
		ConeZoom = .005,
	},
	burst = {
		Delay = .34,
		Cone = .02,
		ConeZoom = .017,
		BurstDelay = .05,
		Shots = 3,
	},
	zoom = {
		[1] = {
			fov = 70,
		},
	},
}

//End of configuration

SWEP.Secondary.ClipSize		= -1
SWEP.Secondary.DefaultClip	= -1
SWEP.Secondary.Automatic	= false
SWEP.Secondary.Ammo			= "none"

//DOCEND
